package cn.quevo.core.entity;

import java.io.Serializable;

import lombok.Data;
import org.beetl.sql.core.annotatoin.AssignID;
import org.beetl.sql.core.annotatoin.ColumnIgnore;

/**
 * 基础实体类型
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2018-03-09 14:18:07
 * @Copyright ©2015-2035 湘豫(北京)科技有限公司. All Rights Reserved.
 * @return
 */
@Data
public class BaseEntity implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 7627897000360509512L;

    /**
     * 主键ID
     */
    @AssignID
    private Long id;
    /**
     * 操作者
     */
    @ColumnIgnore(insert = true,update = true)
    private Long operatorId;
    /**
     * 记录拥有者
     */
    @ColumnIgnore(insert = false,update = true)
    private Long recordOwnerId;

    /**
     * 企业ID
     */
    @ColumnIgnore(insert = false,update = true)
    private Long compId;
}
